package com.aaa.service;

import com.aaa.entity.Emp;
import com.aaa.vo.Result;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * -*- coding:utf-8 -*-
 *
 * @author 太阳偷渡青山
 * @software IntelliJ IDEA
 * @date 2022/11/19 13:14
 * @Description
 */
public interface EmpService extends IService<Emp> {
    /**
     * 查询页面信息
     *
     * @param currentPage 当前页面
     * @param pageSize    页面大小
     * @return {@link Result}<{@link Page}<{@link Emp}>>
     */
    Result<Page<Emp>> queryByPageInfo(Integer currentPage, Integer pageSize);
}
